home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / pdselect / awnp / awnp-docs / radiobutton.doc < prev    next >
Text File  |  2000-02-16  |  1KB  |  77 lines

  1. Radio Button gadget event
  2. -------------------------
  3.  
  4. 'gadget GID selected_state'
  5.  
  6. Radio Button gadget parameters.
  7. -------------------------
  8.  
  9. font=GID
  10.  
  11. This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
  12.  
  13. close (c)
  14.  
  15.  This gadget will close the window when selected by the user.
  16.  
  17. readonly (ro)
  18.  
  19.  This gadget is read only.
  20.  
  21. disable=number (dis=)
  22.  
  23.  The gadget is disabled if number = 0 , enabled if number != 0. Defaults to enabled.
  24.  
  25. selected=number (s=)
  26.  
  27.   Set which choice is selected when the window opens. Selections start at 0 . This defaults to choice 0.
  28. to unselected.
  29.  
  30. RadioLabels="choice0|choice1|choice..."  (rl=)
  31.  
  32.  Set the choices for the gadget. This parameter MUST be given.
  33.  
  34. minwidth=number (minw=)
  35.  
  36.  Set the minimum width for this gadget
  37.  
  38. minheight=number (minh=)
  39.  
  40.  Set the minimum height for this gadget
  41.  
  42. weightedwidth=number (weiw=)
  43.  
  44.  Set the weighted width for this gadget
  45.  
  46. weightedheight=number (weih=)
  47.  
  48.  Set the weighted height for this gadget
  49.  
  50. nominalsize (noms)
  51.  
  52.  Set this gadget to its nominal size.
  53.  
  54. replace=GID
  55.  
  56.  Use this gadget to replace an existing gadget specified by GID.
  57.  
  58. Definition Reply
  59. -----------------
  60.  
  61.  When the gadget creation is successful the pipe replies with
  62.  
  63. 'ok GID'
  64.  
  65. Radio Button gadget modify parameters.
  66. -------------------------
  67.  
  68. disable=number (dis=)
  69.  
  70.  The gadget is disabled if number = 0 , enabled if number != 0.
  71.  
  72. selected=number (s=)
  73.  
  74.  Set the current selection of the radio button.
  75.  
  76.  
  77.